<template>
  <div class="promotion-item">
    <div class="promotion-img">
      <img :src="detail.imgUrl" alt="" />
    </div>
    <div class="promotion-info">
      <div class="info-timer">活动日期：2022-01-01</div>
      <div class="info-title"><{{ detail.title }}></div>
      <div class="info-desc">
        <div class="desc-item">
          <img src="@img/promotion/圣诺莉官网—首页_02-08.png" alt="" />
          剩余天数： <span>666</span> 天
        </div>
        <div class="desc-item">
          <img src="@img/promotion/圣诺莉官网—首页_02-11.png" alt="" />
          报名人数： <span>666</span> 天
        </div>
        <div class="desc-item">
          <img src="@img/promotion/圣诺莉官网—首页_02-13.png" alt="" />
          人气指数： <span>666</span> 天
        </div>
      </div>
      <div class="promotion-btn">剩余666天</div>
    </div>
  </div>
</template>
<script>
export default {
  props: ["detail"],

  data() {
    return {};
  },
  mounted() {},
  computed: {},
  methods: {},
};
</script>
<style scoped lang="less">
@import url("@css/index");

.promotion-item {
  display: flex;
  align-items: flex-start;
  .promotion-img {
    min-width: 543px;
    height: 359px;
    border: 11px solid #cccccc;
    margin-right: 37px;

    img {
      width: 100%;
      height: 100%;
    }
  }
  .promotion-info {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    .info-timer {
      font-family: SourceHanSansSC;
      font-weight: 400;
      font-size: 16px;
      color: #000000;
      margin-bottom: 14px;
    }
    .info-title {
      font-family: SourceHanSansSC;
      font-weight: 400;
      font-size: 24px;
      margin-bottom: 19px;
    }
    .info-desc {
      font-family: SourceHanSansSC;
      font-weight: 400;
      font-size: 16px;
      width: 100%;
      margin-bottom: 37px;
      .desc-item {
        border-bottom: 2px solid #cccccc;
        display: flex;
        align-items: baseline;
        padding-bottom: 5px;
        img {
          margin-right: 15px;
        }
        span {
          color: #ec766a;
          font-size: 24px;
        }
      }
    }
  }
  .promotion-btn {
    .dis-cen();
    font-family: SourceHanSansSC;
    font-weight: 400;
    font-size: 30px;
    width: 204px;
    height: 45px;
    background: #ec766a;
    border-radius: 8px;
    color: #fff;
  }
}
</style>
